package com.truyen.persistence.dao;

import java.util.List;

import com.truyen.persistence.dao.base.GenericJpaBaseDao;
import com.truyen.persistence.entity.LoaiTruyenChu;
import com.truyen.persistence.entity.SearchLoaiTruyenTrinhTham;
import com.truyen.persistence.entity.TruyenTrinhTham;
import com.truyen.utils.PagingInfo;

public interface SearchLoaiTruyenTrinhThamDao extends GenericJpaBaseDao<SearchLoaiTruyenTrinhTham, Long> {

	List<SearchLoaiTruyenTrinhTham> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	SearchLoaiTruyenTrinhTham findByLoaiTruyenTrinhThamVTruyenTrinhTham(
			LoaiTruyenChu loaiTruyenChu, TruyenTrinhTham truyen);

	List<SearchLoaiTruyenTrinhTham> getLstByLoaiTruyenTrinhThamWithPaging(
			LoaiTruyenChu loaiTruyenChu, String orderBy, PagingInfo pInfo);

}
